package com.haiheng.library_base.msg

/**
 *
 * @Des:
 * @Author: hwz
 * @Date:2022/8/1 0001
 * @Version: 1.0
 */
class MsgCode {
    companion object{
        const val MSG_ROBOT_CODE : Int  = 0
        const val MSG_DESKTOP_ROBOT_CODE : Int  = 1
        const val MSG_ROBOT_SOTOP_NAVIGATION_CODE : Int  = 90

        //重新连接成功
        const val RE_CONNECT_SUCCESS = 126
        //重新连接
        const val RE_CONNECT = 122
        //socket收到的消息
        const val SOCKET_RECEIVED_MSG = 123

        //身份证登录失败
        const val MSG_LOGIN_FAIL_BY_IDENTITYID =  300
        //读者证登录失败
        const val MSG_LOGIN_FAIL_BY_PATRON = 301

        const val MSG_MQTT_CONNECT_SUCCESS = 400
        const val MSG_MQTT_CONNECT_FAIL = 401
        const val MSG_MQTT_MESSAGE_ARRIVED = 402
        const val MSG_REPORT_STATUS  = 403

        const val RONGRUI_DEVICE_CODE = 601//书籍标签

        const val MSG_VOCE_CHECK = 700
        const val MSG_VOCE_CHECK_RESULT = 701
        const val MSG_VOCE_ASR_RESULT  = 702
        const val MSG_VOCE_WAKEUUP_SUCESS  = 703
        const val MSG_VOCE_AUDIO_RESULT = 704
        const val MSG_VOCE_ABILITY_INIT = 705
        const val MSG_VOCE_ASR_ENGINE_STOP  = 706
        const val MSG_VOCE_START_CHECK = 707

        const val MSG_SCAN_CODE = 801//扫码结果

    }
}